package com.itheima.controller;


import com.itheima.common.R;
import com.itheima.manager.OmsCompanyAddressManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 公司收发货地址表 前端控制器
 * </p>
 *
 * @author 朱鸿楷
 * @since 2022-11-10
 */
@RestController
public class OmsCompanyAddressController {

    @Autowired
    OmsCompanyAddressManager omsCompanyAddressManager;

    @GetMapping("/companyAddress/list")
    public R findAddress(){
        return omsCompanyAddressManager.findCompanyAddress();
    }
}

